FROM eclipse-temurin:17-jre-alpine
VOLUME /tmp
ENV LANG C.UTF-8
ENV TZ Asia/Shanghai
ENV JAVA_OPTS ""
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime && echo ${TZ} > /etc/timezone
ADD target/pearl-001-elk-1.0-SNAPSHOT.jar app.jar
ENTRYPOINT java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar
